Fixed 2 bugs in gtk_box_size_allocate()
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 5 Apr 2010 22:01:56 +0000 (18:01 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 5 Apr 2010 22:01:56 +0000 (18:01 -0400)
commit24ed2f8aa11c674f1a507200945a9b4f20ce3069
tree08d7be40eb7be79df07227a19b840d243eb0d3f0
parenteb537a6773e9436e4aae6cd8274f9132aa2c2ff2
Fixed 2 bugs in gtk_box_size_allocate()

This commit fixes the loop to take into consideration the
child->padding that will be allocated to the child while calculating
full available size. Additionally it fixes the initial positioning
of child widgets when packed at the end (a special case because the
x position used starts from the end of the box).
gtk/gtkbox.c